<script setup lang="ts">
// import Versions from './components/Versions.vue'

// const ipcHandle = () => window.electron.ipcRenderer.send('ping')

import UpdatePage from "../UpdatePage.vue";

const headerHeight = "30px";
</script>

<template>
  <div class="titlebar" :style="{ height: headerHeight }">
    <div>检查更新</div>
  </div>
  <div class="content-box" :style="{ height: `calc(100% - ${headerHeight})` }">
    <UpdatePage></UpdatePage>
  </div>
</template>

<style lang="less">
#app{
  background-image: url("../../assets/images/updatebg.png");
  background-size: 660px 358px;
  .titlebar{
    background-color: transparent;
  }
  .content-box{
    background-color: transparent;
  }
}
</style>
